import React, { Component, Fragment } from 'react'
// import Count from './components/1_setState';
// import Lazy from './components/2_lazytLoad';
// import Hooks from './components/3_hooks';
// import Hooks from './components/4_effectHook';
// import Hooks from './components/5_refHook';
// import Hooks from './components/6_fragment';
// import Hooks from './components/7_context';
// import Hooks from './components/8_pureComponent';
// import Hooks from './components/9_renderProps';
import Hooks from './components/10_errorBoundary';
import './index.css';
export default class App extends Component {
  render() {
    return (
      //当需要循环的时候可以加key值
      <Fragment key={1}>
        {/* <Count x={1}/> */}
        {/* <Lazy /> */}
        <Hooks />
      </Fragment>
    )
  }
}
